#include <mainWindow.h>

mainWindow::mainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    ui.setupUi(this);
}

void mainWindow::on_btnOK_clicked()
{
    
    if (ui.btnCtrlReal->isChecked())
    {
        ;
    }
    else if (ui.btnRunSim->isChecked())
    {
        ;
    }
    else
        ;

    if (ui.chkShell->isChecked())
    {
        cmdInterface *w = new cmdInterface();
        w->show();
        this->close();
    }
    else
    {
        btnInterface* w = new btnInterface();
        w->show();
        this->close();
    }
    

}